<div class="panel panel-default" ng-controller="BusStationListCtrl">
	<div class="panel-heading">跨城巴士 / 站点档案</div>
	<toaster-container
		toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
	<div class="row wrapper m-n">
		<form class="bs-example form-horizontal ng-pristine ng-valid">
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<input type="text" ng-model="queryMap.address" class="form-control"
						placeholder="站点名称">
				</div>
			</div>
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<input type="text" ng-model="queryMap.city" class="form-control"
						placeholder="城市">
				</div>
			</div>
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<button type="button" class="btn btn-info" ng-click="query()">查询</button>
				</div>
			</div>
		</form>
	</div>
	<div class="table-responsive">
		<table class="table table-striped b-t b-light">
			<thead>
				<tr>
					<th style="width: 10px;"></th>
					<th style="width: 35px;">站点编码</th>
					<th style="width: 80px;">站点名称</th>
					<th style="width: 120px;">站点详细地址</th>
					<th style="width: 50px;">城市名</th>
					<th style="width: 80px;">
						<div class="list-icon">
							<a href tooltip="添加站点" has-authority="BUS_STATION_ADD"> <i class="fa fa-plus fa-fw m-r-xs"
								ui-sref="app.bus.mapStation()"></i>
							</a>
						</div>
					</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="station in dataList">
					<td></td>
					<td>{{station.code}}</td>
					<td>{{station.address}}</td>
					<td>{{station.addressMore}}</td>
					<td>{{station.city}}</td>
					<td>
						<div class="list-icon">
							<a href tooltip="修改站点" has-authority="BUS_STATION_UPDATE"> <i class="fa fa-pencil"
								ng-click="write('lg',station,'update')"></i>
							</a> <a href tooltip="删除站点" has-authority="BUS_STATION_DEL"> <i class="fa fa-times fa-fw"
								ng-click="del('sm',station ,'delete')"></i>
							</a>
						</div>
					</td>
				</tr>
				<tr ng-show="dataList.length==0">
					<td colspan="7" style="text-align: center;">暂无站点信息</td>
				</tr>
			</tbody>
		</table>
	</div>
	<page-footer />
</div>